
import { _decorator, Component, Node } from 'cc';
import App from '../script/App';
const { ccclass, property } = _decorator;

@ccclass('UI')
export class UI extends Component {
    
    onEnable() {
        console.log('UI onEnable');

        this.scheduleOnce(() => {
            App.Ins.closeUI();
        }, 1);
    }
}